SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 47127: "RoleSecurityException: Cannot unapprove markdown without approval permission..." occurs when unapproving markdowns

DetailsAboutRate It

When unapproving markdowns in SAS®High-Performance Markdown Optimization, the following security exception might occur:

com.sas.solutions.di.server.security.api.RoleSecurityException: Cannot unapprove markdown without approval permission at com.sas.solutions.di.server.mdo.api.MarkdownSummary.unapprove(MarkdownSummary.java:1548) at com.sas.solutions.di.studio.mdo.mvc.MarkdownModel$8.run(MarkdownModel.java:588) at com.sas.solutions.di.studio.mvc.cm.CategorizedModel.updateModel(CategorizedModel.java:2166) at com.sas.solutions.di.studio.mvc.cm.CategorizedModel.updateModel(CategorizedModel.java:2145) at com.sas.solutions.di.studio.mdo.mvc.MarkdownModel.unapprove(MarkdownModel.java:582) at com.sas.solutions.di.studio.mdo.views.vcp.AbstractMarkdownListVCP.handleUnapprove(AbstractMarkdownListVCP.java:801) at com.sas.solutions.di.studio.mdo.views.vcp.AbstractMarkdownListVCP$47.widgetSelected(AbstractMarkdownListVCP.java:1419) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.sas.solutions.di.studio.runtime.internal.StudioApplication.start(StudioApplication.java:182) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

To work around this issue, unapprove uniformly timed markdowns from the Markdowns filter instead of the All Items filter.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS High-Performance Markdown OptimizationLinux for x644.3_M25.29.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.